From: Platonides Date: Wed, 20 Jul 2011 15:35:48 +0000 (+0000) Subject: Follow up r92635 X-Git-Tag: 1.31.0-rc.0~28719 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=ae3910dd5dcaa4cfe1f50128302d7c90d1a9b9f6;p=lhc%2Fweb%2Fwiklou.git Follow up r92635 --- diff --git a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php index 568a6f2148..d9424514ae 100644 --- a/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php +++ b/tests/phpunit/includes/media/BitmapMetadataHandlerTest.php @@ -9,8 +9,7 @@ class BitmapMetadataHandlerTest extends MediaWikiTestCase { * translation (to en) where XMP should win. */ public function testMultilingualCascade() { - global $wgShowEXIF; - if ( !$wgShowEXIF ) { + if ( !wfDl( 'exif' ) ) { $this->markTestIncomplete( "This test needs the exif extension." ); } diff --git a/tests/phpunit/includes/media/FormatMetadataTest.php b/tests/phpunit/includes/media/FormatMetadataTest.php index c4c48b52d2..57d5d6fcd5 100644 --- a/tests/phpunit/includes/media/FormatMetadataTest.php +++ b/tests/phpunit/includes/media/FormatMetadataTest.php @@ -1,8 +1,7 @@ markTestIncomplete( "This test needs the exif extension." ); } @@ -26,4 +25,4 @@ class FormatMetadataTest extends MediaWikiTestCase { $meta['visible'][$dateIndex]['value'], 'File with invalid date metadata (bug 29471)' ); } -} \ No newline at end of file +}